home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / dos / window / winclip / exam6.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-03-12  |  437 b   |  16 lines

  1.   #include "window.h"
  2.   #define REVERSE   CREATE_VIDEO_ATTRIBUTE(white,black)
  3.  
  4.   WPOINTER w;
  5.  
  6.   main()
  7.   {
  8.     WindowInitializeSystem();
  9.     WindowSaveInitial(0);
  10.     w = WindowInitialize(BORDER,1,1,10,10,REVERSE,REVERSE,SINGLEBOX);
  11.     WindowOpen(w);
  12.     WindowDisplay(w,1,NOEFFECT);
  13.     GET_KEY();
  14.     WindowRemoveBorder(w);  /* Removes the double box around BORDERed
  15.                                        window */
  16.   }